package com.mobisys.live.bean.channel;

import org.hibernate.validator.constraints.NotBlank;

/**
 * Created by zhuo on 2018-01-16.
 * 新建一个频道
 */
public class CreateNewChannelBean {

    @NotBlank(message = "用户id不能为空！")
    private String userId;

    @NotBlank(message = "频道名不能为空！")
    private String channelName;

    private String imgUrl;
    private String token;

    public CreateNewChannelBean() {
    }

    public CreateNewChannelBean(String userId, String channelName, String imgUrl, String token) {
        this.userId = userId;
        this.channelName = channelName;
        this.imgUrl = imgUrl;
        this.token = token;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getChannelName() {
        return channelName;
    }

    public void setChannelName(String channelName) {
        this.channelName = channelName;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }


}
